#ifndef VARMODTEXT_H
#define VARMODTEXT_H

#include <QDialog>
#include "ui_varmodtext.h"
#include "helper.h"
#include <QSqlQuery>
#include <QVariant>

class VarModText : public QDialog
{
	Q_OBJECT

public:
	VarModText(QWidget *parent = 0, int lessontypeid = -1, int variantid = -1, int modid = -1, int complexityid = -1);
	~VarModText();

private:
	Ui::VarModTextClass ui;

	QString tablename;//variants or modifications
	int tableid;//id of record to save comments


private slots:
	void saveComment();

};

#endif // VARMODTEXT_H
